﻿using System;

namespace Eflong.DTO.Fx
{
    [FluorineFx.TransferObject]
    public class NetStatus
    {
        public int AutoId { get; set; }

        public int CoalMineId { get; set; }

        public string CoalMineName { get; set; }

        public string IPAddr { get; set; }

        public DateTime BeginTime { get; set; }

        public DateTime EndTime { get; set; }

        public string Causation { get; set; }

        public string Measure { get; set; }

        public DateTime MeasureTime { get; set; }

        public uint State { get; set; }

        public string Note { get; set; }

        public bool Update { get; set; }

        public DateTime UpdateTime { get; set; }

        // 需要保存到数据库

        public bool IsNeedRecord { get; set; }

        public NetStatus( )
        {
        }

        public NetStatus( int autoid , int coalMineId , string coalMineName , string ipAddr )
        {
            this.AutoId = autoid;
            this.CoalMineId = coalMineId;
            this.CoalMineName = coalMineName;
            this.IPAddr = ipAddr;
        }
    }
}